/*
package com.aaa.come.service.impl;

import com.aaa.come.entity.Pick;
import com.aaa.come.mapper.PickMapper;
import com.aaa.come.service.PickService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

*/
/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author aaa
 * @since 2020-11-24
 *//*

@Service
public class PickServiceImpl extends ServiceImpl<PickMapper, Pick> implements PickService {


    @Autowired
    private PickMapper pickMapper;
    */
/**
    * @Description: 条件分页查询拣货管理 //描述
    * @Param: [page, size, pick]//参数
    * @return: com.baomidou.mybatisplus.extension.plugins.pagination.Page<com.aaa.come.entity.Pick>
    * @Author: 岚氓//作者
    * @Date: 2020/11/27  18:12
    *//*

    @Override
    public Page<Pick> findPagePick(Integer page, Integer size, Pick pick) {
        Page<Pick> pageinfo=new Page<>(page,size);
        QueryWrapper<Pick> queryWrapper=new QueryWrapper<>();
        if (StringUtils.isNotEmpty(pick.getPickno())){
            queryWrapper.like("pickno",pick.getPickno());
        }
        if (StringUtils.isNotEmpty(pick.getPicktaskno())){
            queryWrapper.like("picktaskno",pick.getPicktaskno());
        }
        if (pick.getState()!=null){
            queryWrapper.eq("state",pick.getState());
        }
        return pickMapper.selectPage(pageinfo,queryWrapper);
    }
}
*/
